package com.princess.demok.mvvm.viewmodel

import androidx.lifecycle.MutableLiveData
import com.princess.demok.base.viewmodel.BaseViewModel
import com.princess.demok.mvvm.repository.HomeRepository

/**
 * @author: xha
 * @date: 2021/6/2 17:13
 * @Description:
 */
class HomeViewModel : BaseViewModel<HomeRepository>() {
    val mThemIntData: MutableLiveData<Int> = MutableLiveData()

    fun setTheme(theme:Int){
        mRepository.setTheme(theme,mThemIntData)
    }
}